package deng.jboss.examples.webservices;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

/**
 * Hello program.
 * 
 * @author Zemian Deng
 */

@WebService
@SOAPBinding(style=SOAPBinding.Style.RPC)
public class Hello2 {

	@WebMethod
	public String getGreeting(String name) {
		return "Hello " + name;
	}
	
}